package com.zhengke.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhengke.dao.IOrderDao;
import com.zhengke.pojo.SysOrder;
import com.zhengke.service.hubf.IOrderService;

@Service
public class IOorderServiceImpl implements IOrderService {

	//注入IOrderDao对象
	@Autowired
	IOrderDao iorderdao;
	
	@Override
	public List<SysOrder> querryOrder(Map<String, Object> map) {
		
		return iorderdao.querryOrder(map);
	}

	@Override
	public int updateOrderByOrderState(Map<String, Object> elementMap) {
		
		return iorderdao.updateOrderByOrderState(elementMap);
	}

	@Override
	public int insertLabelByGoods(Map<String, Object> elementMap) {
		
		return iorderdao.insertLabelByGoods(elementMap);
	}

}
